package com.ssy.lingxi.dto.request;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

public class MemberSettlementStrategyRequest  implements Serializable {

    private static final long serialVersionUID = -8650090210648165743L;
    /**
     * 结算单据类型:
     * 1.生成通知单 2.物流单 3.订单
     */
    @NotNull(message = "结算单据类型不能为空")
    private Integer settlementOrderType;


    @NotNull(message = "会员ID不能为空")
    private Long memberId;

    /**
     * 角色id
     */
    @NotNull(message = "会员角色id要大于0")
    @Positive(message = "会员角色id要大于0")
    private Long roleId;

    /**
     * 供应商会员id
     */
    @NotNull(message = "供应商会员id要大于0")
    @Positive(message = "供应商会员id要大于0")
    private Long supplierMemberId;

    /**
     * 供应商角色id
     */
    @NotNull(message = "供应商角色Id要大于0")
    @Positive(message = "供应商角色Id要大于0")
    private Long supplierRoleId;

    public Integer getSettlementOrderType() {
        return settlementOrderType;
    }

    public void setSettlementOrderType(Integer settlementOrderType) {
        this.settlementOrderType = settlementOrderType;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public Long getSupplierMemberId() {
        return supplierMemberId;
    }

    public void setSupplierMemberId(Long supplierMemberId) {
        this.supplierMemberId = supplierMemberId;
    }

    public Long getSupplierRoleId() {
        return supplierRoleId;
    }

    public void setSupplierRoleId(Long supplierRoleId) {
        this.supplierRoleId = supplierRoleId;
    }
}
